<template>
  <div class="phone">
      <p class="input1">
          <input type="text" placeholder="请输入手机号">
          <span>获取验证码</span>
      </p>
      <p class="input"><input type="text" placeholder="请输入您的密码" disabled></p>
      <p><button>登录</button></p>
      <p class="help">
          <span @click="goRegister">立即注册</span>
          <span>找回密码</span>
      </p>
      <p class="kefu">© 猫眼电影 客服电话：
          <span class="phone1">400-670-5335</span>
      </p>
  </div>
</template>

<script>
export default {
    methods:{
        goRegister(){
            this.$router.replace('register');
        }
    }
}
</script>

<style scoped lang="scss">
.phone{
    font-size:14px;
}
.input1{
    width:100%;
    height:50px;
    box-sizing: border-box;
    padding:10px;
    display:flex;
    border-bottom:1px solid #ddd;
    input{
        border:none;
        outline:none;
        margin-right:10px;
        font-size:14px;
        flex:1;
        &:focus{
            background-color: #eee;
            border-radius: 3px;
        }      
    }
    span{
        display:inline-block;
        background-color: #dcdcdc;
        color:#999;
        border-radius:3px;
        width:100px;
        text-align:center;
        line-height:30px;
    }
}
.input{
    width:100%;
    height:50px;
    box-sizing: border-box;
    padding:10px;   
    border-bottom:1px solid #ddd;
    font-size:14px;
    input{
        border:none;
        width:100%;
        height:100%;
        outline:none;
        background-color: #eee;
        border-radius: 3px;
        font-size:14px;
    }
    
}
button{
    width:calc(100% - 20px);
    height:40px;
    box-sizing: border-box;
    margin:10px;
    text-align:center;
    color:#999;
    background-color: #dcdcdc;
    border:none;
    border-radius:10px;
    font-size:14px;
}
.help{
    width:100%;
    height:40px;
    box-sizing: border-box;
    padding:10px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    font-size:14px;
    color:#fe8c00;
}
.kefu{
    width:100%;
    height:40px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:14px;
    color:#333;
    .phone1{
        color:#df2d2d;
    }
}
</style>